fix transformation