Fixed bug in circ_buff_get