fixed repo bug