Register event once only