fixes inline styles