* adjust code format.
 * adjust checkAdminEntry function.