fix null values in terms panel