function name fix
Merge pull request #4 from willtp87/7.x.fixes

function name fix