fixed bug in bm25