fix: added missing return statement