lowercases strings before comparing