[#86] Add some bugs
[#86] Add debug output