fix logical/foil in seq2