fix log save