Patch bug in removal of formatting