ydiagram_transpose fixed