remove useless style code