fixed segfault on printing empty arr/obj