typo in register event