Log fix

fix #23