ensure id is always accessible