fix display time in logs add lib create pdf