The atmega is reseting when mosfets are turned on.
The mosfet are controlling power through a 100W resistive bulb.
Sometimes turning nearby bulb also resets the atmega.
The reset pin is pulled up through a 10k resistor, otherwise the atmega works quite fine without loading anything.
Assistance will be highly appreciated.