don't crash on print(null) or print(undefined)