another fix for web worker