he cursed himself for letting his mind become so distracted by the conversation with his aunt that he had momentarily relaxed his guard , giving his cousin the perfect opening for this underhanded attack .