Serial communication fix