fixing bad logging line