fix warning on missing return type

fix warning on missing return type