fix bug causing missing repo