fix mirror issues.