fixed typo in function name

#285