fix on invalid file path message