fix error in email link