bug fix return the right base url already