Remove AI90 bug - read beyond end of string