edit file bug fixed