fixed error in serial monitor