Tage switch in front end has been built

some bugs fixed