fix bug in edit file name