fixing bugs with CSS