fix bug in admin index