edited filter by to go by id