Mirror bug fix