fix admin checks