minor delint and additional log.debug notes