fixing bug with bad data