index and config fixed