Ported to gnuradio 3.6 to gnuradio 3.7