fixed bugs
Signature for logger