hack to get around absolute versus relative URIs