fix String detection in sequence module