bug with adding links  from the ui