bug fix
refactor logging
Merge pull request #1 from gakki99/master

bug fix