make data sent to client consistent