removed a bug in trident -> ignore gap