fix: contains logic abnormal when str b is longer