Minor change to string parsing