fix invalid hostname
hide disk tab when only one disk