bugfixes

fixed some typos to make it compilable
Merge pull request #2 from mclee/bugfixes

switch to defalut config file