clear the database and reload if it gets into some unknown state