try switching order of event firing