correctly return _id as id