serial fully functional, startup crashes arduino