fix regression by selecting clipboard text