Deal with bad data