fixed file open error message appears