Fixed errors with uploader