fix useless control flow, missing return;