Bugfix: what if cookie isn't setted?