fix two more logging checks