fix multiple add_text calls