made a few fixes to the admin setting