Fixes for working with USB hub, listing ports crashes