change mirall into client