fix serial type