fixed bug in event import