fix bug in email link