fixing bug in cookies