fix reference to filePath