fix transformation, update attributes