filter, indexRange, fix onSet