correctly check for hub