changed encode format, fixed bug with contact form