fix issue with transformations when the same key name is used