bugfix removing agent