Fix repo error code