Fix function className preview