bug fix in setting admin.