modify the details when handling unidirectionalCondition
Refactor codes. Remove duplicated codes