fixed paste bug