Fixed pasting multiple copies of same command