refix a log content