Fixed  warning & Added in entity reference support for term