fixed log save