fixed spinner but uploading broke