cleanup of serial comm to save some space!