The glitch in software that closes at-grade safety gates at vehicle crossings along the A-Line route causes gates to close seven seconds before a train arrives, and open five seconds after it leaves, Currey said.