fix inconsistent function name