program is stable but only unspliting entered mac