fixed bugs with css