fix logging
fix logging again