delete mistaken lines