add some new logic
Revert "add some new logic"

This reverts commit 97cfd2a0260a15ff39d647bd5bf8d0e30803c6f4.