clean up syntax to match style guide; bug 976547
Merge pull request #1913 from phrawzty/bug976547

fixes bug 976547