fix and log