Fix to ditty index page, wipe db