[fix] tail -n 0 instead of -n 40
[fix] buffering problems
[enh] bugfix release