fix space typing in View2Dom