Fixed some bugs on styling.