Fix function name spelling