bug fixed, upload files improved