dirty solution to a dirty problem, baseurl