fixed several things on admin