fix event import

trim data before import