fix base path for file browser