fix fetch log history