adjust save cookie