fixed logging of variable deleted in previous commit