fix IDs