handle multiple spaces, lowercase result
merged