fixed some css bugs