fix splitindex