Fixed one bug: hard-coded base url