bug fix: new Worker() instanceof Worker is false