control edit in collect