Fixed some css bugs