fix agree session