Fix split function
i forget.