getting rid of the bad message