create _design/index if necessary