finally got handles transforming correctly