fixed typo for function name