fixing admin controller