add hacky fix for adding url prefixes