how to interface 2 [16x2 jhd 162a] lcd screens with one atmega 8 board

Good to know it works now. Try adding some resistor in series with the back light, like 220 ohm.