fix some issues of styles