fix term depth on views