fix function names.
Merge pull request #3511 from openscholar/3489

fix function names.