sometimes does not upload to Mega2560