serial interface not working without sketch upload