fix waitforcomplete