Fix fireAgent