base url fixes