Fixed typo in function name definition