fix some logging things