bad reference in logging line