add auto reinit when DOM changed