I see..but then shouldn't it check param_dim before wrapping val in a list?  Otherwise if param_dim > 1 you're still just appending a list.