[yanan] fix a bug which will cause average correct ratio wrong