Fix socket tabbing bug