bugfix for email link