removed invalid sequence end code