handle host relative paths