moved register event