check if link works