fix to make links open correctly