remove server_url for media path