fix the redirect issue for the label printing