Fixed bug with wrong params count