add TSRM header in zts mode and module pointer