complete admin_settings
fixed #2 and rename some vars