fix missing returns reported by eclipse