fix term tab setting