catching Sys_error in case of a wrong link