fixed some css bugs with bg