filepathById fix