fix for overflow index data bug