shadow and remove cookie