config and index at the same level