test modes for name equality
Remove whitespace