add ::repo check