fix bug for getProductNames params is null