bad edit caused error