FIX: when opening links in new window link only worked once