try to fix missing resource repo issue.