Fix index mutex error