Fix function.