fixed bug in notification and logger