changed admin check