fixed uploading stuff madness (i hope)