fixed issue with missing parameters in API library