make log correct