trying to fix serial output issue.