fix serial printing debug and startup delay