fixed some bugs about css duplications