handle getting details when there is no data.