fix a bad function name