Fix mirror ref string issue