check err of parseRepo