fixed errors updated admin view