bug in logger fixed
new features in export to pdf