fix filter-by-int problem