bugfix - closes #63