handle bogus data