correct function call
Merge pull request #309 from stevendgonzales/master

minor correction to object reference