fix params on api orders