fixing bug with unrevealedCount init value