minor agree bug fix