fix merge online history fault

Signed-off-by: xiehuc <xiehuc@gmail.com>