Remove invalid sequence