updates for debugView.patch