removed closure from config
Merge pull request #13 from Hounddog/optimization

removed closure from config