Fix caching closure
Merge pull request #503 from Eye4web/config-closure-fix

Fix caching closure