Fix for filemanager controller