publish correct index