fixed a bug where clicking pasted something