fix bug of MXD
fix bug of MXD