Fix to make hitory autosyncing