moved event to relevant position