fixed a little bug with cookies and setting the branch and printer settings.