fixed error in split