Fixed cookie bug pt. 2