remove useless return statement