fixed termSearch syntax and paperID indent weirdness