correct the styles