Issue Fix

fixed an issue for web worker