even thought the ball hits the stumps the rule is to see when the bails are out of the groove of the stumps. wicket keeper has to take the ball 1st in order to dis lodge the bails. if the wickets are down and still it didn't count as an out and again to set the batsman out the wicket should be...