fix installer so it doesn't try to remove /tmp
truncate long highlights (elasticsearch bug?)