fix repair block