Fix bugs in indicator#edit