Fix spacing issue when pasting