Fixed a bug with reading config values.
Merge pull request #23 from hsamadi/master

Fixed a bug with reading config values.