fix for minscore retrieval