bugfix for bold/italic