fix file exists