added error message if zero results were returned