fixed index and color