fixing split problem