Fix function case