fixed paste bug, was not saveing pasted images