bugfix exit worker