make parameter reverse ordering as expected by COM runtime