correcting base url