fix bug in admin web gui