fixes in html worker