Fixed mirroring bug