small fix for copy, paste in text field