fixed cookie plugin