optimizations for serialcom side