the app should not crash when there is no data.