add some admin tools and fix bug