Fixing error mail message