bugfix when pasting into a comment