fix bad function name