fix read last log