filter object with next