fix serial read code for new serial board