improve mirroring