A few air pockets are fine, but the outer fried crust should not be covered with a lot of air pockets. If the dough is soft, then the air pockets occur on the crust. Too much moisture in the dough makes the crust soft as well as gives it plenty of air pockets. While frying, if the oil is too hot, air pockets appear on the crust.