fix bug on two cookie!