fixed all issues with admin panel panel not showing correctly