Fixed the pass bug