trying to fix download event