fixed file not found bug