Fixed mistakes in adminview