fix qa count bug