replace . with DOT AFTER setting to lowercase