use correct logger and a few comments