fix links after close
multiple checks fix