fix call to undefined method (closes #14)