fixed a wrong params order