Bugfix for open in new window