Fixed a case sensitive bug