fix body end without end char