added guard to Fifo::first()