refactor detectotshowtoolpad
fix toolpad show up bug