fixed issue #106 , logger exception