Atmega 328P pin 0 as input errors

The software is definitly good, because if i upload it the original microcontroller, its work. I have problem with the other controllers. If i change to an other(none original) this program not work because the pin 0.