correcting a bug introduced by myself during logging implementation
Merge pull request #175 from jaesivsm/unstable

correcting a bug introduced by myself during logging implementation