fixed view bugs and aligned new REST for admin