Fixed a bug with string case.