keep track of loaded ids and filter