removed unecessary term setting