fixed cookie setting/getting/deleting