hopefully this should be the last bit of the relative URL fixing