updated for macbook
fix leader and term trans