setTM fixes