fixed bug with split