Fixed up scan#edit