corrected alert for revealing longest word