fixed file exists