fix check repo before info