replace direct call by destinations