fix delegation in app