changed the order of the gapInfo initialization