added support for paste from Excel