i think this is the problem; we're creating using pub_url which is a local reference that is then going out of scope and probably being garbage collected at some point; if we passed an immediate string in here we're probably be safe. will test that later.