event mailer bug fixed; removing debug code