more robust TM inst support
fix dataMem error, and show dataMem done right