some LTM fixes. Status: working