Fixed cookes so that always stored at domain top level