fix fundshare getHistory functions