fixed printing infra-structure problems