fix missing return