handling entry not found by id