remove logging of unused value reference