repair build event