fixed bug in HTML mail