fixed some things in uploader