Fixed bug where file manager not loading correctly