fix bad data