repair visual bugs