lenght of pks should equal to results

@lxyu