fix serial warnings