css bugs and beautify