fix attribute eror in some instances.
AttributeError: 'uploader' object has no attribute 'otp'