tryCatching attribute lookup