small modifications to fifo to import logi_utils_pack