fixed embedding with url prefixes