fix missing return
Merge pull request #1 from Dominator008/patch-1

fix missing return