[minor] code style fix
[admin] remove activesupport dependency