fixed index file not updating references #3