bug fix

closes #10