fix file edit