fixes 3007 - printing lists throws an exception