fix wrong result count