change where event is registered