fixed some issues, introduced by changing the transformation using numpy
only