fix ids in data