fixed the new admin registration bug