making link in table work