fixed mpreal issues