Fixed reading strings to a variable in a string array