config parameter passing bug fix.
Merge pull request #46 from luzluna/master

config parameter passing bug fix.