fix how lifecycles add handlers