fix string array assignment