Frame Alignment and Structural Repairs