edit file with mistakes