cleaned up formatting

Issue #1491