Fixing typo in print thread