code refactor
bugfix worker startup errors (danger mode)