Proper lowercasing

`toLowercase()` is dangerous