#27 Debug Log bug fix