repare broken build