Fixed a bug where all links were set to new window