fix some bugs in style files