fixed index creation