Fix issue when copy castle link in map