replace member for storing links in TWS_CMR with local variable