fixed bug of cannot click to open the link and queryhistory