add log split and minor change