fixed bug when trying to create a filemanager instance by default