Revise getSep and getVar for quality calculating;