bugfixes, cookies and ie8