fixed bugs in uploader and uploading form