Fix (windows error) for index