Fix no return of result