fix important logging