remove trailer reference