Fix possible missing return value