fixing bug on subsegment in selectl
modification in body.py