changed thesis string compare to case insensitive