fix arrayFromString