commit repair and repair