fix minor logger issue