fix register configuration option
Merge pull request #23 from rikkertkoppes/bugfixes

fix register configuration option