fix admin loading issue