fix for wrong export logic
update history