manually fixing relative URLs until i figure out what is generating them incorrectly