fix excerpt error for multiple terms