use require the right way, inside the event.

Signed-off-by: Raymond Matos <ray.matos@medialets.com>