fix function name and doc mismatch