fixed pass completion bug