fix the heats upload form and processing