fix various css bugs