fixed compatibility with B3 version <= 1.9.x