split detection from callbcak