Bug in QA class corrected