fixed printlist NULL check (again)