fixed bug in transformations, added pprint