Fix freeform upload