fix pad order for rot_dual