Fix function call