merge fifo into program
add a default log level
log add ending
fix typo from previous commit