fixes from getting test_transformations.py to pass