fixes for transform