fixing admin bug