bugfix, closes #62