Some fixes in upload page.