bug fix with base url