fixed unable to paste bug