printing workaround