fix LowerSwitch pass with trunk because the current version had some problems