fixed cookie crap