fix upload form, mail works now