fix, if there is no cookie