fixed bug with email links