refactoring.

delete unnecessary white space. added missing space after comma and
operators