fixed some things with killing workers