fixed bug with untrimmed terms