fixed split methods to use the old API