fixed config and index