fix transformation error