more logging, typo fix