remove an invalid line from a rescue block