fixed a repo bug