fix a bug of admin module