fixed error in printOutb try (no except):  line 242