prevent default name to be deleted and return an error on invalid link