issue #5685: replace create with new
issue #5685: fix transition _ctor bugs