Cookie hiding bug fix