Fix download form bug