change the error when there is no file with style