fixed typo in function name