Fix the Top-Down and Bottom-Up example issue