continue fixing some important issues with keeping of text formatting