fix the deprecated GappedAlignments with GAlignments