Fixed crashing! the database tuples are correctly shown