Catching undefined link arrays