fixing no file error