fix misinterpret string as arary