add maxscore filter