file existence fix