clean up buggy variable to be outside of controller
Merge pull request #6 from rbenapfl/calm

clean up buggy variable to be outside of controller