remove spaces
add headers
fix date format in email template
currency type improvement