avoid carriage return when pasting clipboard