part 2: remove special characters from critical IDs