check prior visits
fix piwik and notmuch