Fix function spelling