handle array type params