correction error : wrong argument type (String; must be an Array or a Hash.