tweaked view to be tolerant of bad test data