to lower case for case insensitive search