fixed exception on no results