change repo to string type.