fixed multi-param bug