fixes in clear web cache patch