filePath and fileurl fix