fix bug in calculation of AP and Q-measure