refs #67 bug fix