clean up form and make multiple uploads work