Fix transformation