fix pass bug