Fix for importing events