bagofcharsd3 compatible with v0.3