fix for RestfulAPI call accepting only 2 params (cross fingers)