fix inflate wrapper cycle condition issue #29