fixed rotations, forgot to look on which side to put the replacement
node in the parent