fix redirect_to on open in new tab