Computer glitch causes pilot shortage