Fix repo sync errors