The statement that ждать takes the genitive is outdated. Most of the time it takes accusative.