644p SMD bug?

I wanted to make smd Shruthi board but unfortunately it doesnt work. Leds works in some random order - i cant find a key… only first 4 are working more or less in some order when turning encoder. Another when i turn power sometimes are on sometimes off… sometimes some of them etc. Buttons do not work. Ive checked 2 boards and 2 different processors - the same. Is possible there is some bug in TQFP version of Atmega644p? Is there definitely something wrong. If i can program this chip that means both lines are ok.

P.S. I know tht on this board are missing some tracks (one from lcd) but i tested it with soldering some extra wires.