fixing event for data import