fixed some bugs with linksGui