fixed bug in mail support