qualified function completion fix