matcha index bug