Fix retrievial basePath error