Sketch is not working with Nano perfectly like Mega2560

Could you post the code please? (using code tags)