fixed the 'checkForStack' stuff. Apparently I put in two layers of fake qc--I think one is enough and will change that later