delete terms and boarder tables
added gobal terms and local terms save