fix panel tranpose arguments api bug

fixes #3556.