performance increase by caching values
letters to lower case fix