Fix error in Cookie class