catch if no data is returned