If your macarons have empty pockets of air, there are a few different reasons why this might have happened: the batter was either over-mixed or under-mixed. Air bubbles in the piping bag were not popped before the batter was piped. Or the oven temperature was too hot.