change settings. Fix bugs of getting the downloading url