switch from toLocaleLowerCase to toLowerCase