fixed incorrect method name

fixes #217