fixed loading of admin