bugfix: show tail at beginning instead of whole logdata