https wrap; fix indices of hashtags; delete old document