validate the title & link