Fix bad function names