Fix reference error in #49

[closes #49]