print error on bad data.