got rid of bad data