Fix canPaste