handle return of just a single row