fixed bug in splitting context of a sentece