fixed nameAttempt typo