clearing out bad data