display loading error if the database is empty