many fixes and agent improvements