Fix PublicURL bug