fix mirror issue