Fix styling attributes