Fix pass bug