cookie fixes