problem with ov7670+fifo

hi guys i'm using this code:

and know i'm getting green noisy output.
what could be wrong.
should i change anything in this code.