little fix in 'edit'