Bugfix

closes #9