changed admin order to exit first