fixed division matching and case in edit facility