fix save log on vm