fix closing uls