baseurl madness

need a better fix for this later