fix string to array