fixed parsing serial read data