fix css bugs
almost finish check extension,change some api and tool function