Fix linking on refresh of projects