fixed if no file present