make data consistent