modify done action