fixes authorHistory and friendHistory