fixed return type
Merge pull request #2069 from rgripper/patch-2

fixed return type