Fix function style