Issue #547 Fixed typo

- Also removed the avg comment