bug fixed about submitting without file