fixed bug in topk selection