make history case insensitive