add class Hub
fix class Switch