set address properly for event