fix body autoclose