add compatibility between HTM12.0 and SHM6.1