trying to fix a problem with web workers