fixes bad function name