base url issue fixing