fixed some bugs after merge and add admin menu for semantic(dont work now)