fixed bug in theme cookie set & retrieval